<template>
    <div class="header">
        <div class="header-left">
            <div class="back-ico iconfont">&#xe624;</div>
        </div>
        <div class="header-input">
            <span class="iconfont">&#xe632;</span>
            输入城市/景点/主题
            </div>
        <div class="header-right">
            {{this.city}}
            <span class="arrow-ico iconfont">&#xe64a;</span>
        </div>
    </div>
</template>

<script>
export default {
    name: 'HomeHeader',
    props: {
        city: String

    }
}
</script>

<style lang="less" scoped>
@import '~@/assets/styles/base.less';
.header{
    display: flex;
    height: .86rem;
    line-height: .86rem;
    color: #ffffff;
    background-color: @color1;
    .header-left{
        width: .64rem;
        .back-ico{
            text-align: center;
            font-size: .4rem;
        }
    }
    .header-input{
        flex: 1;
        height: .62rem;
        line-height: .62rem;;
        margin-top: .12rem;
        padding-left: .2rem;
        color: #cccccc;
        background-color: #ffffff;
        border-radius: .1rem;
    }
    .header-right{
        width: 1.24rem;
        text-align: center;
        .arrow-ico{
            font-size: .24rem;
        }
    }
}
</style>
